package com.songshuai.webapi.permission.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@ApiModel(value="根据角色查询人员请求实体")
@Data
@ToString
public class RoleUserListReqDto {

    @NotNull(message = "角色Id不能为空")
    @ApiModelProperty(value="角色Id",required = true)
    private Integer roleId;

    @ApiModelProperty(value="查询条件,用户可输入任意字符搜索部门，中英文名",required = false)
    private String param;

}